home *** CD-ROM | disk | FTP | other *** search
/ Adobe Graphics & Publishing SDK 1996 December / Adobe Graphics & Publishing SDK 1996 December.iso / mac / PageMaker 6.5 SDK Mac / SourceCode / PageMakerClassLibrary / Queries / PGetPubWindows.cpp < prev    next >
C/C++ Source or Header  |  1996-09-04  |  793b  |  31 lines

  1. /*
  2.  *--- PGetPubWindows.cpp --------------------------------------------------
  3.  * Copyright (c) 1995-96 Adobe Systems Incorporated.  All rights reserved.
  4.  * Created on Sun, Oct 22, 1995 @ 4:49 PM by Paul Ferguson.
  5.  *
  6.  * Description:  For notes about this class, refer to the
  7.  * PCL documentation file PGetPubWindows.html
  8.  *-------------------------------------------------------------------------
  9.  */
  10.  
  11. #include "PGetPubWindows.h"
  12. #include "PQuery.h"
  13. #include "PRequestBuf.h"
  14.  
  15. PGetPubWindows::PGetPubWindows(PMBool bAllWindows)
  16. : PStringListQuery()
  17. {
  18.     char temp[8];        // plenty big
  19.     
  20.     PRequestBuf request(temp);
  21.     
  22.     request << bAllWindows;
  23.  
  24.     PQuery query(pm_getpubwindows, request, itsHandle);
  25.     InitHandle();
  26.     InitListMom();
  27.     Scan();
  28. }
  29.  
  30. // end of PGetPubWindows.cpp
  31.